Fix warning in .Pro build by forcing HAVE_UNISTD
authorRobert Lipe <robertlipe@users.noreply.github.com>
Mon, 30 Apr 2018 06:12:35 +0000 (01:12 -0500)
committerGitHub <noreply@github.com>
Mon, 30 Apr 2018 06:12:35 +0000 (01:12 -0500)
commitc377c557418ecbcecb5993e2e56f7a415afd40e8
tree530e45deb9961a1ddf864a00d952da85f1139e6b
parent33b8df6c7ae4d457db073c707745362379728588
Fix warning in .Pro build by forcing HAVE_UNISTD

I'm not sure if it's new in Qt 5.9, but it's trivial (I think) to fix and harmless. When building files like gzread and gzwrite, MacOS would complain that we were missing declarations to extremely well known system functions (write, close, read, seek, ...) Those live in <unistd.h>, so we nudge the Makefile generator to trigger its inclusion for MacOS and Linux.
GPSBabel.pro